package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-23
 */
public class DistributionShop extends Model<DistributionShop> {

    private static final long serialVersionUID = 1L;

    /**
     * 分销店铺id
     */
    @TableId(value = "distribution_id", type = IdType.AUTO)
    private Long distributionId;
    /**
     * 分销店铺编号
     */
    private String distributionNumber;
    /**
     * 分销店铺名称
     */
    private String distributionName;
    /**
     * 分销店铺信息
     */
    private String distributionMsg;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 退出时间
     */
    private Date exitTime;
    /**
     * 入住商家编号
     */
    private String merchantEnterId;
    /**
     * 规范id
     */
    private Long guidanceId;
    /**
     * 注销id
     */
    private Long unsubscribeId;
    /**
     * 是否授权（0/1）1表示未授权
     */
    private Integer authorization;


    public Long getDistributionId() {
        return distributionId;
    }

    public void setDistributionId(Long distributionId) {
        this.distributionId = distributionId;
    }

    public String getDistributionNumber() {
        return distributionNumber;
    }

    public void setDistributionNumber(String distributionNumber) {
        this.distributionNumber = distributionNumber;
    }

    public String getDistributionName() {
        return distributionName;
    }

    public void setDistributionName(String distributionName) {
        this.distributionName = distributionName;
    }

    public String getDistributionMsg() {
        return distributionMsg;
    }

    public void setDistributionMsg(String distributionMsg) {
        this.distributionMsg = distributionMsg;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getExitTime() {
        return exitTime;
    }

    public void setExitTime(Date exitTime) {
        this.exitTime = exitTime;
    }

    public String getMerchantEnterId() {
        return merchantEnterId;
    }

    public void setMerchantEnterId(String merchantEnterId) {
        this.merchantEnterId = merchantEnterId;
    }

    public Long getGuidanceId() {
        return guidanceId;
    }

    public void setGuidanceId(Long guidanceId) {
        this.guidanceId = guidanceId;
    }

    public Long getUnsubscribeId() {
        return unsubscribeId;
    }

    public void setUnsubscribeId(Long unsubscribeId) {
        this.unsubscribeId = unsubscribeId;
    }

    public Integer getAuthorization() {
        return authorization;
    }

    public void setAuthorization(Integer authorization) {
        this.authorization = authorization;
    }

    @Override
    protected Serializable pkVal() {
        return this.distributionId;
    }

    @Override
    public String toString() {
        return "DistributionShop{" +
        ", distributionId=" + distributionId +
        ", distributionNumber=" + distributionNumber +
        ", distributionName=" + distributionName +
        ", distributionMsg=" + distributionMsg +
        ", userId=" + userId +
        ", createTime=" + createTime +
        ", exitTime=" + exitTime +
        ", merchantEnterId=" + merchantEnterId +
        ", guidanceId=" + guidanceId +
        ", unsubscribeId=" + unsubscribeId +
        ", authorization=" + authorization +
        "}";
    }
}
